﻿using System;

namespace Microsoft.Goldenlight.Framework
{
    /// <summary>
    /// 	The exception that is thrown when a call is made to a game object that has faulted.
    /// </summary>
    public class GameException : SystemException
    {
        #region Constructors

        /// <summary>
        /// 	Initializes a new instance of the GameException class.
        /// </summary>
        public GameException()
        {
        }

        /// <summary>
        /// 	Initializes a new instance of the GameException class using the specified message.
        /// </summary>
        /// <param name="message"> The message that describes the exception. </param>
        public GameException(string message) : base(message)
        {
        }

        /// <summary>
        /// 	Initializes a new instance of the GameException class using the specified message and inner exception.
        /// </summary>
        /// <param name="message"> The message that describes the exception. </param>
        /// <param name="innerException"> The inner exception. </param>
        public GameException(string message, Exception innerException) : base(message, innerException)
        {
        }

        #endregion
    }
}